
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>linux下挂载NTFS分区错误修复 | 安生</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="今天在linux下打开win的NTFS硬盘总是提示出错了，而且是全部的NTFS盘都出错，其中sda1错误显示如下：
12345Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t &amp;quot;ntfs&amp;quot; -o &amp;quot;uhelper=udisks2,nodev,nosuid">
<meta property="og:type" content="article">
<meta property="og:title" content="linux下挂载NTFS分区错误修复">
<meta property="og:url" content="http://localhost/2014/06/15/linux下挂载NTFS分区错误修复/index.html">
<meta property="og:site_name" content="安生">
<meta property="og:description" content="今天在linux下打开win的NTFS硬盘总是提示出错了，而且是全部的NTFS盘都出错，其中sda1错误显示如下：
12345Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t &amp;quot;ntfs&amp;quot; -o &amp;quot;uhelper=udisks2,nodev,nosuid">
<meta property="og:updated_time" content="2016-04-11T06:08:59.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="linux下挂载NTFS分区错误修复">
<meta name="twitter:description" content="今天在linux下打开win的NTFS硬盘总是提示出错了，而且是全部的NTFS盘都出错，其中sda1错误显示如下：
12345Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t &amp;quot;ntfs&amp;quot; -o &amp;quot;uhelper=udisks2,nodev,nosuid">
  
    <link rel="alternative" href="/atom.xml" title="安生" type="application/atom+xml">
  
  
    <link rel="icon" href="/favicon.png">
  
  <link rel="stylesheet" href="/css/style.css">
  <link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  <!--[if lt IE 9]><script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.min.js"></script><![endif]-->
  
</head>
<body>
<div id="container">
  <div id="wrap">
    <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">安生</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="http://www.baidu.com/baidu" method="get" accept-charset="utf-8" class="search-form">
          <input type="search" name="word" maxlength="20" class="search-form-input" placeholder="Search">
          <input type="submit" value="" class="search-form-submit">
          <input name=tn type=hidden value="bds">
          <input name=cl type=hidden value="3">
          <input name=ct type=hidden value="2097152">
          <input type="hidden" name="si" value="localhost">
        </form>
      </div>
    </div>
  </div>
</header>
    <div class="outer">
      <section id="main"><article id="post-linux下挂载NTFS分区错误修复" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2014/06/15/linux下挂载NTFS分区错误修复/" class="article-date">
  <time datetime="2014-06-15T13:49:25.000Z" itemprop="datePublished">2014-06-15</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="article-title" itemprop="name">
      linux下挂载NTFS分区错误修复
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>今天在linux下打开win的NTFS硬盘总是提示出错了，而且是全部的NTFS盘都出错，其中sda1错误显示如下：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">Error mounting /dev/sda1 at /media/wangbo/24F02EECF02EC3C0: Command-line `mount -t &quot;ntfs&quot; -o &quot;uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177&quot; &quot;/dev/sda1&quot; &quot;/media/wangbo/24F02EECF02EC3C0&quot;&apos; exited with non-zero exit status 14: Windows is hibernated, refused to mount.</span><br><span class="line">Failed to mount &apos;/dev/sda1&apos;: Operation not permitted</span><br><span class="line">The NTFS partition is in an unsafe state. Please resume and shutdown</span><br><span class="line">Windows fully (no hibernation or fast restarting), or mount the volume</span><br><span class="line">read-only with the &apos;ro&apos; mount option.</span><br></pre></td></tr></table></figure>
<p>恩，挂载出错，好像是因为win8的状态是高级休眠，试着使用ntfsfix修复一下，<br>如果没有安装得先安装,执行</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">sudo apt-get install ntfs-3g</span><br></pre></td></tr></table></figure>
<p>因为我已经安装过了，所以。。。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">[sudo] password for wangbo:</span><br><span class="line">Reading package lists... Done</span><br><span class="line">Building dependency tree       </span><br><span class="line">Reading state information... Done</span><br><span class="line">ntfs-3g is already the newest version.</span><br><span class="line">The following packages were automatically installed and are no longer required:</span><br><span class="line">  gir1.2-appindicator3-0.1 gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0 gir1.2-xkl-1.0 python3-cairo</span><br><span class="line">  python3-crypto python3-gi-cairo python3-icu python3-keyring python3-pyicu python3-secretstorage</span><br><span class="line">Use &apos;apt-get autoremove&apos; to remove them.</span><br><span class="line">0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.</span><br></pre></td></tr></table></figure>
<p>安装好后，对原来挂载出错的NTFS盘分别执行</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sudo ntfsfix /dev/sda1</span><br><span class="line">sudo ntfsfix /dev/sda8</span><br></pre></td></tr></table></figure>
<p>修复<span style="font-family: SimSun;">分区错误，结果呢，</span></p>
<p>修复sda8的时候，成功修复。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">wangbo@Idina:~/temp$ sudo ntfsfix /dev/sda8</span><br><span class="line">Mounting volume... The disk contains an unclean file system (0, 0).</span><br><span class="line">Metadata kept in Windows cache, refused to mount.</span><br><span class="line">FAILED</span><br><span class="line">Attempting to correct errors...</span><br><span class="line">Processing $MFT and $MFTMirr...</span><br><span class="line">Reading $MFT... OK</span><br><span class="line">Reading $MFTMirr... OK</span><br><span class="line">Comparing $MFTMirr to $MFT... OK</span><br><span class="line">Processing of $MFT and $MFTMirr completed successfully.</span><br><span class="line">Setting required flags on partition... OK</span><br><span class="line">Going to empty the journal ($LogFile)... OK</span><br><span class="line">Checking the alternate boot sector... OK</span><br><span class="line">NTFS volume version is 3.1.</span><br><span class="line">NTFS partition /dev/sda8 was processed successfully.</span><br></pre></td></tr></table></figure>
<p>但是在修复sda1的时候，因为win8高级休眠，修复失败了。。。</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br></pre></td><td class="code"><pre><span class="line">wangbo@Idina:~/temp$ sudo ntfsfix /dev/sda1</span><br><span class="line">Mounting volume... Windows is hibernated, refused to mount.</span><br><span class="line">FAILED</span><br><span class="line">Attempting to correct errors...</span><br><span class="line">Processing $MFT and $MFTMirr...</span><br><span class="line">Reading $MFT... OK</span><br><span class="line">Reading $MFTMirr... OK</span><br><span class="line">Comparing $MFTMirr to $MFT... OK</span><br><span class="line">Processing of $MFT and $MFTMirr completed successfully.</span><br><span class="line">Setting required flags on partition... OK</span><br><span class="line">Going to empty the journal ($LogFile)... OK</span><br><span class="line">Windows is hibernated, refused to mount.</span><br><span class="line">Remount failed: Operation not permitted</span><br></pre></td></tr></table></figure>
<p>恩，解决办法，进win8，关闭快速启动，恩，对，关了它就ok</p>
<p>关闭办法是控制面板，在电源管理中，选择关闭盖子的功能，更改不能更改的选项，去掉快速启动的钩，nice，好了，重启进linux，ok</p>

      
    </div>
    <footer class="article-footer">
      
        <a data-url="http://localhost/2014/06/15/linux下挂载NTFS分区错误修复/" data-id="cimvrqg1y0004kyfetetmhdl5" class="article-share-link">分享到</a>
      

      
        <a href="http://localhost/2014/06/15/linux下挂载NTFS分区错误修复/#ds-thread" class="article-comment-link">评论</a>
      

      
    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2014/07/18/如何使用getopt-函数解析参数/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">下一篇</strong>
      <div class="article-nav-title">
        
          如何使用getopt()函数解析参数
        
      </div>
    </a>
  
  
</nav>

  
</article>


  <section id="comments">
    <div id="ds-thread" class="ds-thread" data-thread-key="2014/06/15/linux下挂载NTFS分区错误修复/" data-title="linux下挂载NTFS分区错误修复" data-url="http://localhost/2014/06/15/linux下挂载NTFS分区错误修复/"></div>
  </section>
</section>
      
      <aside id="sidebar">
  
    
  
    
  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">归档</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/">五月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">四月 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/12/">十二月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/11/">十一月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/07/">七月 2014</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/06/">六月 2014</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">近期文章</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2015/05/01/Linux服务器配置与LNMP安装实录-1/">Linux服务器配置与LNMP安装实录---(1)</a>
          </li>
        
          <li>
            <a href="/2015/04/16/科学上网，简易教程/">科学上网，简易教程</a>
          </li>
        
          <li>
            <a href="/2014/12/17/记Fedora-21-Yun源配置和软件安装/">记Fedora 21 Yun源配置和软件安装</a>
          </li>
        
          <li>
            <a href="/2014/12/09/Linux运维文档之nginx【转】/">Linux运维文档之nginx【转】</a>
          </li>
        
          <li>
            <a href="/2014/11/26/CentOS-7安装完第一步：yum源配置/">CentOS 7安装完第一步：yum源配置</a>
          </li>
        
      </ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">友情链接</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="http://xiguabaobao.com" target="_blank">主题作者</a>
          </li>
        
          <li>
            <a href="http://reqianduan.com" target="_blank">热前端</a>
          </li>
        
          <li>
            <a href="https://www.xiyoulinux.org" target="_blank">西邮linux兴趣小组</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
      
    </div>
    <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2016 wangbo<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
      .
      Theme by <a href="https://github.com/xiangming/landscape-plus" target="_blank">Landscape-plus</a>
    </div>
  </div>
</footer>
  </div>
  <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
  <!-- totop start -->
<div id="totop">
<a title="返回顶部"><img src="/img/scrollup.png"/></a>
</div>

<!-- totop end -->

<!-- 多说公共js代码 start -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"idina"};
  (function() {
    var ds = document.createElement('script');
    ds.type = 'text/javascript';ds.async = true;
    ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
    ds.charset = 'UTF-8';
    (document.getElementsByTagName('head')[0]
     || document.getElementsByTagName('body')[0]).appendChild(ds);
  })();
  </script>
<!-- 多说公共js代码 end -->


<!-- 百度分享 start -->

<!-- 百度分享 end -->

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>




<script src="/js/script.js"></script>

</div>
</body>
</html>
